<template>
    <div class="loading">
        <van-loading size="26px" vertical>{{loadingTitle}}</van-loading>
    </div>
</template>
<script>
export default {
    name:'Loading',
    data(){
        return {}
    },
    props:{
        showLoading:{
            type:Boolean,
            default:true
        },
        loadingTitle:{
            type:String,
            default:'加载中...'
        }
    }
}
</script>
<style lang="less" scoped>
.loading{
    position: fixed;
    top:0;
    left:0;
    z-index:10001;
    width: 100%;
    height: 100%;
    background: none;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    .van-loading--vertical{
        margin:7.5rem auto;
    }
    // .van-loading__text{color: #fff;}
  }
</style>